Skip to content

[Go] Pass block length before schema version to WrapForDecode in flyweight tests - #1194

Open
slachiewicz wants to merge 1 commit into
aeron-io:masterfrom
slachiewicz:go-flyweight-tests-wrap-for-decode-args
Open

slachiewicz wants to merge 1 commit into
aeron-io:masterfrom
slachiewicz:go-flyweight-tests-wrap-for-decode-args

Conversation

@slachiewicz

Copy link
Copy Markdown
Contributor

Six WrapForDecode calls in the Go flyweight tests passed the schema version where the block length goes and the other way round. They only passed because these schemas are at version 0; the calls now match the generated signature (buffer, offset, actingBlockLength, actingVersion, bufferLength), as the other flyweight tests already do.

Verified: gocode make passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant